
/*---AngularJs效果---*/
var app = angular.module("myApp",[])


app.controller("shirtCtrl",function($scope,$http){
    $http.get("../assets/js/data.json")
         .success(function(response){
              $scope.items = response.shirt;   
           
         })
})

app.controller("bmNews",function($scope,$http){
    $http.get("../assets/js/data.json")
         .success(function(response){
            $scope.items = response.bmnews;
            $scope.goods = response.bmgoods;  
         })
})

app.controller("aboutLink",function($scope,$http){
     $http.get('../assets/js/about.json')
          .success(function(response){
             $scope.items = response.brief;
          })
     $scope.aboutCk = function(code,num){
         $scope.details = code;   
     }
    
     
})